package com.xbai.creation.factorymethod.factory;

import com.xbai.creation.factorymethod.product.Button;
import com.xbai.creation.factorymethod.product.WindowsButton;

/**
 * 具体创建者
 */
public class WindowsDialog extends Dialog {

    @Override
    public Button createButton() {
        return new WindowsButton();
    }
}